<?php
/**
 *
 * @author Rodrigo Régis Palmeira <regisbsb@gmail.com>
 *
 */
namespace Foxforms\Widget\Field;
class Input extends \Foxforms\Widget\Field
{
	public static function create($name)
	{
		return new self($name);
	}

	public function __construct($name = null)
	{
		$this->setType('text');
		parent::__construct($name);
	}

	protected $value;

	/**
	 * Set the value of a input
	 * @param string $value
	 * @return FoxInputForms
	 */
	public function setValue($value)
	{
		$this->value = $value;
		return $this;
	}

}